package com.elvin.wx.beans;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 无线设备通信状态表
 * </p>
 *
 * @author zhenchl
 * @since 2022-01-14
 */
@TableName("fn_wireless_warm")
public class WireDevWarm extends Model<WireDevWarm> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 数据流id
     */
    private String proId;
    /**
     * 设备id
     */
    private String devId;
    /**
     * 低位压力报警点
     */
    private Float lowPressure;
    /**
     * 高位压力报警点
     */
    private Float highPressure;
    /**
     * 超低压力报警点
     */
    private Float ultraLowPressure;
    /**
     * 超高压力报警点
     */
    private Float ultraHighPressure;
    /**
     * 低位温度报警点
     */
    private Float lowTemperature;
    /**
     * 高位温度报警点
     */
    private Float highTemperature;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建日期", required =false,hidden=true)
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh",timezone = "GMT+8")
    private Date createTime;
    private String about1;
    private String about2;
    private String about3;

    public String getAbout1() {
        return about1;
    }

    public void setAbout1(String about1) {
        this.about1 = about1;
    }

    public String getAbout2() {
        return about2;
    }

    public void setAbout2(String about2) {
        this.about2 = about2;
    }

    public String getAbout3() {
        return about3;
    }

    public void setAbout3(String about3) {
        this.about3 = about3;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId;
    }

    public Float getLowPressure() {
        return lowPressure;
    }

    public void setLowPressure(Float lowPressure) {
        this.lowPressure = lowPressure;
    }

    public Float getHighPressure() {
        return highPressure;
    }

    public void setHighPressure(Float highPressure) {
        this.highPressure = highPressure;
    }

    public Float getUltraLowPressure() {
        return ultraLowPressure;
    }

    public void setUltraLowPressure(Float ultraLowPressure) {
        this.ultraLowPressure = ultraLowPressure;
    }

    public Float getUltraHighPressure() {
        return ultraHighPressure;
    }

    public void setUltraHighPressure(Float ultraHighPressure) {
        this.ultraHighPressure = ultraHighPressure;
    }

    public Float getLowTemperature() {
        return lowTemperature;
    }

    public void setLowTemperature(Float lowTemperature) {
        this.lowTemperature = lowTemperature;
    }

    public Float getHighTemperature() {
        return highTemperature;
    }

    public void setHighTemperature(Float highTemperature) {
        this.highTemperature = highTemperature;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WireDevPolice{" +
        "id=" + id +
        ", proId=" + proId +
        ", devId=" + devId +
        ", lowPressure=" + lowPressure +
        ", highPressure=" + highPressure +
        ", ultraLowPressure=" + ultraLowPressure +
        ", ultraHighPressure=" + ultraHighPressure +
        ", lowTemperature=" + lowTemperature +
        ", highTemperature=" + highTemperature +
        ", createTime=" + createTime +
        "}";
    }
}
